package com.liyiqing.secondhandmall.productservice.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品评价
 * 
 * @author LiYiQing
 * @email 1570865668@qq.com
 * @date 2022-02-18 23:36:20
 */
@Data
@TableName("product_spu_comment")
public class ProductSpuCommentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 商品id
	 */
	private Long spuId;
	/**
	 * 账号id
	 */
	private Long memberId;
	/**
	 * 评论的内容
	 */
	private String content;
	/**
	 * 评论类型[0 - 对商品的直接评论，1 - 对评论的回复]
	 */
	private Integer commentType;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 评论状态：0删除；1正常
	 */
	private Integer status;

}
